<template>
  <div class="content">{{$t("views_index.content")}}
    <el-button @click="handle">点击</el-button>
  </div>
  
</template>

<script lang="ts">
import { defineComponent, ref, reactive } from 'vue'
import { login } from '@/api/login/index'
export default defineComponent({
  name: 'index',
  setup(prop: any, context: any) {
    const data = reactive({});
    return data
  },
  methods: {
    handle() {
      login({ id: '2' })
    },
  },
  mounted() {},
})
</script>

<style scoped lang="scss">
.content {
  padding: 40px;
  text-align: center;
  font-size: 24px;
}
</style>